package com.example.jpa.dao;

import com.example.jpa.entity.School;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SchoolDao extends JpaRepository<School,Integer>
{
    List<School> findAllById(Integer id);
}
